package dcl.software.filesync.server.config;

import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.io.ClassPathResource;

@Configuration
public class FileSyncPropertyConfiguration {

	@Bean
	public PropertyPlaceholderConfigurer propertyPlaceholderConfigurer()
	{
		PropertyPlaceholderConfigurer config = new PropertyPlaceholderConfigurer();
		config.setLocation(new ClassPathResource("/application.properties"));
		
		return config;
	}
}
